package com.yuezhu.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.webkit.WebView;

import com.yuezhu.R;

import butterknife.ButterKnife;
import butterknife.InjectView;

public class WebActivity extends Activity {

    @InjectView(R.id.webview)
    WebView webview;
private  String url ;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_web);
        ButterKnife.inject(this);
        Intent intent = getIntent();
        url = intent.getStringExtra("weburl");
        webview.loadUrl(url);
    }
}
